/**
 详情模块接口
 */




import request from '@/utils/request'
// 详情页接口
export function getGood(params){
    return request({
        url:'/api/Commoditys/GoodDetail',
        method:"get",
        params:params
    })
}
// 收藏接口
export function GoodsCollection(data){
    return request({
        url:'/api/Commoditys/GoodsCollection',
        method:"post",
        data:data
    })
}
// 取消收藏接口
export function cancelGoodsCollection(data){
    return request({
        url:'/api/Commoditys/CancelGoodsCollection',
        method:"delete",
        data:data
    })
}
